package cz.muni.fi.pa036is.dto;

/**
 *
 * @author Shebik
 */
public class RoundGridTO {

    private Long id;
    private int sequenceNumber;
    private int pointCount1;
    private int pointCount2;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getPointCount1() {
        return pointCount1;
    }

    public void setPointCount1(int pointCount1) {
        this.pointCount1 = pointCount1;
    }

    public int getPointCount2() {
        return pointCount2;
    }

    public void setPointCount2(int pointCount2) {
        this.pointCount2 = pointCount2;
    }

    public int getSequenceNumber() {
        return sequenceNumber;
    }

    public void setSequenceNumber(int sequenceNumber) {
        this.sequenceNumber = sequenceNumber;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final RoundGridTO other = (RoundGridTO) obj;
        if (this.id != other.id && (this.id == null || !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 47 * hash + (this.id != null ? this.id.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "RoundGridTO{"
                + "id=" + id
                + "sequenceNumber=" + sequenceNumber
                + "pointCount1=" + pointCount1
                + "pointCount2=" + pointCount2 + '}';
    }

}
